package model;

import java.util.Date;

/**
 * Created by yanxi on 2018/4/22 0022.
 */
public class MyMessage {
    private Date date;
    private String content;
    private String title;

    public MyMessage(Date date, String content, String title) {
        this.date = date;
        this.content = content;
        this.title = title;
    }

    public MyMessage() {
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getContent() {
        return content;
    }



    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "MyMessage{" +
                "date=" + date +
                ", content='" + content + '\'' +
                ", title='" + title + '\'' +
                '}';
    }
}
